projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea3b583
)
A trivial fix. login_unconditionally needs to be called with
author
Ewan Mellor
<ewan@xensource.com>
Tue, 28 Nov 2006 18:41:42 +0000
(18:41 +0000)
committer
Ewan Mellor
<ewan@xensource.com>
Tue, 28 Nov 2006 18:41:42 +0000
(18:41 +0000)
self.login_unconditionally to avoid "global name
'login_unconditionally' is not defined"
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
tools/python/xen/xend/XendAuthSessions.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xend/XendAuthSessions.py
b/tools/python/xen/xend/XendAuthSessions.py
index 616724b96b32e75d2aa432f98a3b622453050002..4081177597005d50ce83495672c5258e77d61086 100644
(file)
--- a/
tools/python/xen/xend/XendAuthSessions.py
+++ b/
tools/python/xen/xend/XendAuthSessions.py
@@
-55,7
+55,7
@@
class XendAuthSessions:
@return: Session UUID
"""
if self.is_authorized(username, password):
- return login_unconditionally(username)
+ return
self.
login_unconditionally(username)
raise XendError("Login failed")